import * as API from "@/api/api";

export default {
    //项目文件列表
    getProjectFileList: params => {
        return API.POST("/user/getProjectFileList", params);
    },
    //上传项目文件
    doAddProjectFile: params => {
        return API.POSTPROJECTFILE("/user/doAddProjectFile", params);
    },
    //文件驳回
    rejectFile: params => {
        return API.POST("/user/rejectFile", params);
    },
    //文件下载
    downloadProjectFile: params => {
        return API.POSTFILE("/user/downloadProjectFile", params, "application/json", true);
    },
    //确认终版文件
    sureFinalFile: params => {
        return API.POST("/user/sureFinalFile", params);
    },
    //取消终版文件
    channelFinalFile: params => {
        return API.POST("/user/channelFinalFile", params);
    },
};
